<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/ActiveWindow.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_active_window_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ActiveWindow.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_active_window_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*  Project nGenEx</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">        Destroyer Studios LLC</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">        Copyright (C) 1997-2004. All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">        SUBSYSTEM:    nGenEx.lib</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">        FILE:         ActiveWindow.h</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">        AUTHOR:       John DiCamillo</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">        OVERVIEW</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">        ========</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">        Active Window class (a window that knows how to draw itself)</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#ifndef ActiveWindow_h</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ActiveWindow_h</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_color_8h.html">Color.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_bitmap_8h.html">Bitmap.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_window_8h.html">Window.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_event_target_8h.html">EventTarget.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_list_8h.html">List.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_text_8h.html">Text.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_poly.html">Poly</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_material.html">Material</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_vertex_set.html">VertexSet</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">class  </span><a class="code" href="class_layout.html">Layout</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">enum</span> {</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57aae85073a9e7c367fb13a1e9825b2d2bc">   38</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57aae85073a9e7c367fb13a1e9825b2d2bc">WIN_NO_FRAME</a>      = 0x0000,</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a57409bb9d915840f5b5a478ac0e7d9e7">   39</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a57409bb9d915840f5b5a478ac0e7d9e7">WIN_BLACK_FRAME</a>   = 0x0001,</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57af253ae8be69153ec995cebfdde6f29ef">   40</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57af253ae8be69153ec995cebfdde6f29ef">WIN_WHITE_FRAME</a>   = 0x0002,</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a4435f39ec2fe8c80e8c14610298cc4f4">   41</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a4435f39ec2fe8c80e8c14610298cc4f4">WIN_THIN_FRAME</a>    = 0x0004,</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57ad2d06d187e2074c38a826025f60993f8">   42</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57ad2d06d187e2074c38a826025f60993f8">WIN_THICK_FRAME</a>   = 0x0008,</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57af769dce7f7d88d4f5bedcbaf50bab4eb">   43</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57af769dce7f7d88d4f5bedcbaf50bab4eb">WIN_RAISED_FRAME</a>  = 0x0010,</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57ad60b250aa1748b53a94ad970de63aff2">   44</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57ad60b250aa1748b53a94ad970de63aff2">WIN_SUNK_FRAME</a>    = 0x0020,</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a239f0ab203c0a84cb31f60e984d798a6">   45</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a239f0ab203c0a84cb31f60e984d798a6">WIN_TEXT_SHADOW</a>   = 0x0040,</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57adab3e9ea9d773e134a00c7f1970b96ad">   46</a></span>&#160;        <a class="code" href="_active_window_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57adab3e9ea9d773e134a00c7f1970b96ad">WIN_FRAME_ONLY</a>    = 0x0080</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;};</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">enum</span> {</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a28a99925e0e10d528d001b7af4ece026">   50</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a28a99925e0e10d528d001b7af4ece026">EID_CREATE</a>,</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a1204f9a038ea2b166c0223a558256378">   51</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a1204f9a038ea2b166c0223a558256378">EID_DESTROY</a>,</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a9163c49369ab06e0d4143b6ea3237a29">   52</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a9163c49369ab06e0d4143b6ea3237a29">EID_MOUSE_MOVE</a>,</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a288822a4287807f273f1e15554547d28">   53</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a288822a4287807f273f1e15554547d28">EID_CLICK</a>,</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388adadbe9ce9e7b6a99c1430c30f237011a">   54</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388adadbe9ce9e7b6a99c1430c30f237011a">EID_SELECT</a>,</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a6e8d9dd93a2fb0926eb24c23b4a78362">   55</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a6e8d9dd93a2fb0926eb24c23b4a78362">EID_LBUTTON_DOWN</a>,</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a7214f5eb508914c14089d94d1c2d32e5">   56</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a7214f5eb508914c14089d94d1c2d32e5">EID_LBUTTON_UP</a>,</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a4d246db4e46a0a5c3f99ab8d8a412dd5">   57</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a4d246db4e46a0a5c3f99ab8d8a412dd5">EID_RBUTTON_DOWN</a>,</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a647ee3423576ca734c4d5c6e0af62dc7">   58</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a647ee3423576ca734c4d5c6e0af62dc7">EID_RBUTTON_UP</a>,</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a52b1f36d62f2a92c72c99ec82fc0f35f">   59</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a52b1f36d62f2a92c72c99ec82fc0f35f">EID_KEY_DOWN</a>,</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388aecc305c5fd8d313de9856c867a35bc71">   60</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388aecc305c5fd8d313de9856c867a35bc71">EID_SET_FOCUS</a>,</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388acdf8b903eb7005490622af5e7dada24d">   61</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388acdf8b903eb7005490622af5e7dada24d">EID_KILL_FOCUS</a>,</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a6c3719d5455471e1f3d8b32dfd32818a">   62</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a6c3719d5455471e1f3d8b32dfd32818a">EID_MOUSE_ENTER</a>,</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a19cbe6cf3cc6abaa70d0915e43d34578">   63</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a19cbe6cf3cc6abaa70d0915e43d34578">EID_MOUSE_EXIT</a>,</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a8bf5230a569d047316621fef32fb3659">   64</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a8bf5230a569d047316621fef32fb3659">EID_MOUSE_WHEEL</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a0b20514f0cf143d2fd00d37e6d8bf2fc">   65</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a0b20514f0cf143d2fd00d37e6d8bf2fc">EID_DRAG_START</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388af4ad54a3f6b96a049a3bc58b3ac3cc8d">   66</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388af4ad54a3f6b96a049a3bc58b3ac3cc8d">EID_DRAG_DROP</a>,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a679c3d220e97a5c79120b882f498166a">   68</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a679c3d220e97a5c79120b882f498166a">EID_USER_1</a>,</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a485426a7963e8fd0693ff0440b8c789e">   69</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a485426a7963e8fd0693ff0440b8c789e">EID_USER_2</a>,</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a324316f0c0e1da75b59b146d9bec507b">   70</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388a324316f0c0e1da75b59b146d9bec507b">EID_USER_3</a>,</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388aa29c909dffbf52e5af81403368f3715b">   71</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388aa29c909dffbf52e5af81403368f3715b">EID_USER_4</a>,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388afee1c49e63be9f8ee2600ba8bda14c2e">   73</a></span>&#160;        <a class="code" href="_active_window_8h.html#a385c44f6fb256e5716a2302a5b940388afee1c49e63be9f8ee2600ba8bda14c2e">EID_NUM_EVENTS</a></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;};</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">class </span><a class="code" href="class_active_window.html">ActiveWindow</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="struct_a_w_event.html">   80</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_a_w_event.html">AWEvent</a></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#a5dfbdb62147a0e723a37a6a96b7007ba">   82</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_a_w_event.html#a5dfbdb62147a0e723a37a6a96b7007ba">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;AWEvent&quot;</span>; }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#a7a39f4966c4b4c0856c3a26594eb9524">   84</a></span>&#160;        <a class="code" href="struct_a_w_event.html#a7a39f4966c4b4c0856c3a26594eb9524">AWEvent</a>() : <a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">window</a>(0), <a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">eid</a>(0), <a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">x</a>(0), <a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">y</a>(0) { }</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#acbe06e9dc8aa3eb058440daa620ed072">   85</a></span>&#160;        <a class="code" href="struct_a_w_event.html#acbe06e9dc8aa3eb058440daa620ed072">AWEvent</a>(<a class="code" href="class_active_window.html">ActiveWindow</a>* w, <span class="keywordtype">int</span> e, <span class="keywordtype">int</span> ax=0, <span class="keywordtype">int</span> ay=0) : <a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">window</a>(w), <a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">eid</a>(e), <a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">x</a>(ax), <a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">y</a>(ay) { }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#af948177aaf6fe1f8e7fe29da61e21c8b">   87</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="struct_a_w_event.html#af948177aaf6fe1f8e7fe29da61e21c8b">operator == </a>(<span class="keyword">const</span> <a class="code" href="struct_a_w_event.html">AWEvent</a>&amp; e)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">window</a> == e.<a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">window</a>) &amp;&amp;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                (<a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">eid</a>    == e.<a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">eid</a>)    &amp;&amp;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                (<a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">x</a>      == e.<a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">x</a>)      &amp;&amp;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;                (<a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">y</a>      == e.<a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">y</a>); }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">   92</a></span>&#160;        <a class="code" href="class_active_window.html">ActiveWindow</a>*  <a class="code" href="struct_a_w_event.html#a04fd79197964d2ae5d3ee5aeaf7b5053">window</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">   93</a></span>&#160;        <span class="keywordtype">int</span>            <a class="code" href="struct_a_w_event.html#a674c97c8d98d71844b2b5bd4a2310420">eid</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">   94</a></span>&#160;        <span class="keywordtype">int</span>            <a class="code" href="struct_a_w_event.html#a7a11b7e9cfc3efb2cff8e9ef42dbb489">x</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">   95</a></span>&#160;        <span class="keywordtype">int</span>            <a class="code" href="struct_a_w_event.html#aa052f04629450619f953a6f72e35dee9">y</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;};</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a51a9b02cfd470a4ecbb0e48c111617f7">   98</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="_active_window_8h.html#a51a9b02cfd470a4ecbb0e48c111617f7">PFVAWE</a>)(<a class="code" href="class_active_window.html">ActiveWindow</a>*, <a class="code" href="struct_a_w_event.html">AWEvent</a>*);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="struct_a_w_map.html">  100</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_a_w_map.html">AWMap</a></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;{</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#a1d94682abeb76e5f20baf1a3a45f0923">  102</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_a_w_map.html#a1d94682abeb76e5f20baf1a3a45f0923">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;AWMap&quot;</span>; }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#a81eaa7ad79e0314d9829aeb8907e2e44">  104</a></span>&#160;        <a class="code" href="struct_a_w_map.html#a81eaa7ad79e0314d9829aeb8907e2e44">AWMap</a>() : <a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">eid</a>(0), <a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">client</a>(0), <a class="code" href="struct_a_w_map.html#adab5f98e8a30d73c569ede3ee0a92453">func</a>(0) { }</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#aa4eb1c1989c50686bf1144cec7885cd8">  105</a></span>&#160;        <a class="code" href="struct_a_w_map.html#aa4eb1c1989c50686bf1144cec7885cd8">AWMap</a>(<span class="keywordtype">int</span> e, <a class="code" href="class_active_window.html">ActiveWindow</a>* w, <a class="code" href="_active_window_8h.html#a51a9b02cfd470a4ecbb0e48c111617f7">PFVAWE</a> f) : <a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">eid</a>(e), <a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">client</a>(w), <a class="code" href="struct_a_w_map.html#adab5f98e8a30d73c569ede3ee0a92453">func</a>(f) { }</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#a93ec5f24f2597988e8ba900b1d41b3c1">  107</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="struct_a_w_map.html#a93ec5f24f2597988e8ba900b1d41b3c1">operator == </a>(<span class="keyword">const</span> <a class="code" href="struct_a_w_map.html">AWMap</a>&amp; m)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">eid</a>    == m.<a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">eid</a>) &amp;&amp;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                (<a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">client</a> == m.<a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">client</a>); }</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">  110</a></span>&#160;        <span class="keywordtype">int</span>            <a class="code" href="struct_a_w_map.html#a72149bbfaa2e320dab451213490cd466">eid</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">  111</a></span>&#160;        <a class="code" href="class_active_window.html">ActiveWindow</a>*  <a class="code" href="struct_a_w_map.html#ac7818777c31804a8289b4bd201cb5431">client</a>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="struct_a_w_map.html#adab5f98e8a30d73c569ede3ee0a92453">  112</a></span>&#160;        <a class="code" href="_active_window_8h.html#a51a9b02cfd470a4ecbb0e48c111617f7">PFVAWE</a>         <a class="code" href="struct_a_w_map.html#adab5f98e8a30d73c569ede3ee0a92453">func</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;};</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_active_window.html">  117</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_active_window.html">ActiveWindow</a> : <span class="keyword">public</span> <a class="code" href="class_window.html">Window</a>,</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="keyword">public</span> <a class="code" href="class_event_target.html">EventTarget</a></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;{</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_active_window.html#a2898106ed811e62d17ba300ae1cb6245">  121</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a2898106ed811e62d17ba300ae1cb6245">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;ActiveWindow&quot;</span>; }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <a class="code" href="class_active_window.html#a8b56f9f3032150dd54ca001c9d93e633">ActiveWindow</a>(<a class="code" href="class_screen.html">Screen</a>* s, <span class="keywordtype">int</span> ax, <span class="keywordtype">int</span> ay, <span class="keywordtype">int</span> aw, <span class="keywordtype">int</span> ah,</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        DWORD <span class="keywordtype">id</span>=0, DWORD <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>=0, <a class="code" href="class_active_window.html">ActiveWindow</a>* <a class="code" href="class_active_window.html#a3422318f38a7866e207f72abbce9dcc2">parent</a>=0);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html#a8aae7ed8d270099a10c32305ae9945e2">~ActiveWindow</a>();</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_active_window.html#a7fe4b8ddd3a5f0de08820109d8d5a850">  127</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="class_active_window.html#a7fe4b8ddd3a5f0de08820109d8d5a850">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_active_window.html">ActiveWindow</a>&amp; w)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keywordtype">id</span> == w.<a class="code" href="class_active_window.html#a2e3c125fd88cd56618b7ea6bfbf0ccef">id</a>; }</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="comment">// Operations:</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a15611334b70601fa49a679409baa6ec0">Paint</a>();    <span class="comment">// blt to screen</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a86598564d7790882a16e131d383799bf">Draw</a>();     <span class="comment">// refresh backing store</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#aeb585b4c72651dbdbca2f7d1fb507f70">Show</a>();</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#af5bbb8948ffaae55580fdadb6f0a0bd4">Hide</a>();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a456cb14f35d5f0744f9d4ca6727e3802">MoveTo</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; r);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a4f58e76abcc095b2d0d3ecc68f00279f">UseLayout</a>(<span class="keyword">const</span> std::vector&lt;DWORD&gt;&amp; min_x,</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;                <span class="keyword">const</span> std::vector&lt;DWORD&gt;&amp; min_y,</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                <span class="keyword">const</span> std::vector&lt;float&gt;&amp; weight_x,</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                <span class="keyword">const</span> std::vector&lt;float&gt;&amp; weight_y);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a4f58e76abcc095b2d0d3ecc68f00279f">UseLayout</a>(<span class="keyword">const</span> std::vector&lt;float&gt;&amp; min_x,</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                <span class="keyword">const</span> std::vector&lt;float&gt;&amp; min_y,</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                <span class="keyword">const</span> std::vector&lt;float&gt;&amp; weight_x,</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                <span class="keyword">const</span> std::vector&lt;float&gt;&amp; weight_y);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a4f58e76abcc095b2d0d3ecc68f00279f">UseLayout</a>(<span class="keywordtype">int</span>     ncols,</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                <span class="keywordtype">int</span>     nrows,</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                <span class="keywordtype">int</span>*    min_x,</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                <span class="keywordtype">int</span>*    min_y,</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                <span class="keywordtype">float</span>*  weight_x,</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                <span class="keywordtype">float</span>*  weight_y);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a87e0129624ca8cc7a70127c5597def36">DoLayout</a>();</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="comment">// Event Target Interface:</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a27019e195faaf0daa4d2dcc410527f82">OnMouseMove</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a2bd5a6afb7ca0223313803f051fe1f3e">OnLButtonDown</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a8079fc2345dc5d94f6d9eff68cd116b0">OnLButtonUp</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#afd9da20a52bcc58e5711cb6125b705e8">OnClick</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a18c808372717f4362ee53b6a9bb6417f">OnSelect</a>();</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a0e96b07190f9421ae0a9c077d6f14be0">OnRButtonDown</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a196596577a1e6385170b79c17d66512f">OnRButtonUp</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a1360935c7442d530b7594336f6318451">OnMouseEnter</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a4d783c31a29651722b7c61d370a07fd7">OnMouseExit</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a86103c06741b299c4729ad85c969cff7">OnMouseWheel</a>(<span class="keywordtype">int</span> wheel);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a1cc3907ef32ba2d582ade939a4ca325f">OnKeyDown</a>(<span class="keywordtype">int</span> vk, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="class_active_window.html#a0a654b80405c484cba6488c480c1557e">  165</a></span>&#160;        <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_active_window.html#a0a654b80405c484cba6488c480c1557e">GetDescription</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a0b4fa6e281d65818de57ca3d1a7b3db2">desc</a>; }</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <span class="comment">// pseudo-events:</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a1923c0112aa814fbb5675444bd025010">OnDragStart</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a64ea935436d7b728e721dd90beac3cb2">OnDragDrop</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code" href="class_active_window.html">ActiveWindow</a>* source);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_active_window.html#a777862c218677dda639b33f3617c80ed">  171</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html">ActiveWindow</a>*   <a class="code" href="class_active_window.html#a777862c218677dda639b33f3617c80ed">FindControl</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) { <span class="keywordflow">return</span> 0; }</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="struct_rect.html">Rect</a>      <a class="code" href="class_active_window.html#a91e8cbff234f358e379988bd2d8ebbee">TargetRect</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html">ActiveWindow</a>* <a class="code" href="class_active_window.html#ad96922e2d2e2560f99f9d25c6bfc6c3a">GetCapture</a>();</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a062e4e1f63aa72971c7f942fbf0fd5ca">SetCapture</a>();</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">int</span>       <a class="code" href="class_active_window.html#a3164663010de2c5245004033a1c56c75">ReleaseCapture</a>();</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="comment">// Property accessors:</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#aa68a686f08cfcf8049e7d7b639317e91">SetFocus</a>();</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a6abb336ada8424493ae526b2252cc359">KillFocus</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_active_window.html#a5f9b42832b20a9137f7b5cdbe8c844a9">  181</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span>      <a class="code" href="class_active_window.html#a5f9b42832b20a9137f7b5cdbe8c844a9">HasFocus</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#ac77e67801600056be42e1173d8e62d4c">focus</a>; }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="code" href="class_active_window.html#a47926cf5986332369c754c60fb4a1609">  183</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a47926cf5986332369c754c60fb4a1609">SetEnabled</a>(<span class="keywordtype">bool</span> e=<span class="keyword">true</span>) { <a class="code" href="class_active_window.html#ab7feb90025ec7274e2778bd434729ae6">enabled</a> = e;        }</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="code" href="class_active_window.html#a3695dcc128d55b52766fbc0d31159797">  184</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a3695dcc128d55b52766fbc0d31159797">IsEnabled</a>()<span class="keyword"> const       </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#ab7feb90025ec7274e2778bd434729ae6">enabled</a>;     }</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="class_active_window.html#a40db4f348aff450bf09542de9bfb7933">  185</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a40db4f348aff450bf09542de9bfb7933">IsVisible</a>()<span class="keyword"> const       </span>{ <span class="keywordflow">return</span> <a class="code" href="class_window.html#a339a45c01dddb97f71143a9d712605b0">shown</a>;       }</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_active_window.html#ab697a35594d48d106517d65e4adf5a7c">  187</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#ab697a35594d48d106517d65e4adf5a7c">GetID</a>()<span class="keyword"> const           </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a2e3c125fd88cd56618b7ea6bfbf0ccef">id</a>;          }</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="class_active_window.html#a885c5a1fd9dd3259c2a5fd90ef1e7be3">  188</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a885c5a1fd9dd3259c2a5fd90ef1e7be3">SetStyle</a>(DWORD s)       { <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a> = s;          }</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_active_window.html#ab6a5b10f101dbaa391275aa9fa162439">  189</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#ab6a5b10f101dbaa391275aa9fa162439">GetStyle</a>()<span class="keyword"> const        </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>;       }</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ac861f21da6e5ea919923ac19866fbb88">SetText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* t);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ac861f21da6e5ea919923ac19866fbb88">SetText</a>(<span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; t);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#afc2d8139cec5e5a33e9eec0a3898eed4">AddText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* t);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#afc2d8139cec5e5a33e9eec0a3898eed4">AddText</a>(<span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; t);</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="code" href="class_active_window.html#ae8eaf83e2c957997d2970d116100eee9">  195</a></span>&#160;        <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp;       <a class="code" href="class_active_window.html#ae8eaf83e2c957997d2970d116100eee9">GetText</a>()<span class="keyword"> const         </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>;        }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="code" href="class_active_window.html#a896e7aa44e49ce11690085c87430ec53">  197</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a896e7aa44e49ce11690085c87430ec53">SetAltText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* t) { <a class="code" href="class_active_window.html#aa7e975c1475d4046dab0dc26f9f025d1">alt_text</a> = t;     }</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_active_window.html#a0326bd26877841726b2313926fa78721">  198</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a0326bd26877841726b2313926fa78721">SetAltText</a>(<span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; t) { <a class="code" href="class_active_window.html#aa7e975c1475d4046dab0dc26f9f025d1">alt_text</a> = t;     }</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="code" href="class_active_window.html#a094f6dd0bfbf5f35d0fc5d27a6055843">  199</a></span>&#160;        <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp;       <a class="code" href="class_active_window.html#a094f6dd0bfbf5f35d0fc5d27a6055843">GetAltText</a>()<span class="keyword"> const      </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#aa7e975c1475d4046dab0dc26f9f025d1">alt_text</a>;    }</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="class_active_window.html#a57d939d7a0eb4f6a171af27cffcbc1f8">  201</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a57d939d7a0eb4f6a171af27cffcbc1f8">SetTexture</a>(<a class="code" href="class_bitmap.html">Bitmap</a>* bmp) { <a class="code" href="class_active_window.html#a20388fc1796579e876a357291e861f3c">texture</a> = bmp;      }</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_active_window.html#a7b700e782527b689a1fbad31bba674aa">  202</a></span>&#160;        <a class="code" href="class_bitmap.html">Bitmap</a>*           <a class="code" href="class_active_window.html#a7b700e782527b689a1fbad31bba674aa">GetTexture</a>()            { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a20388fc1796579e876a357291e861f3c">texture</a>;     }</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a548c57407f89a90fdd0d632eb8743347">SetMargins</a>(<span class="keyword">const</span> <a class="code" href="struct_insets.html">Insets</a>&amp; m);</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="class_active_window.html#ae53cef2ed59dfcd003e29c7b5988de15">  204</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>&amp;           <a class="code" href="class_active_window.html#ae53cef2ed59dfcd003e29c7b5988de15">GetMargins</a>()            { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a46dd04da321d6175a28a273874dae043">margins</a>;     }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a74d0c36775f8defcb598757509b93823">SetTextInsets</a>(<span class="keyword">const</span> <a class="code" href="struct_insets.html">Insets</a>&amp; t);</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_active_window.html#a5792905ec9248521df5479c0d92fba93">  206</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>&amp;           <a class="code" href="class_active_window.html#a5792905ec9248521df5479c0d92fba93">GetTextInsets</a>()         { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#ae7fb7aa9695bfbac77b9e1e5dd1f0a8b">text_insets</a>; }</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="class_active_window.html#a02c1078b609dfc66b0d8dadd7fb55b33">  208</a></span>&#160;        <a class="code" href="class_list.html">List&lt;ActiveWindow&gt;</a>&amp; <a class="code" href="class_active_window.html#a02c1078b609dfc66b0d8dadd7fb55b33">GetChildren</a>()         { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#ae468a01ef76df610592e9b091540080e">children</a>;    }</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a375562bca460c00934ac552f967daf4b">SetCellInsets</a>(<span class="keyword">const</span> <a class="code" href="struct_insets.html">Insets</a>&amp; c);</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="class_active_window.html#a7908fb1e59c9e4675b6463155a122d5d">  210</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>&amp;           <a class="code" href="class_active_window.html#a7908fb1e59c9e4675b6463155a122d5d">GetCellInsets</a>()         { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a842dd824331e42bfaeed478297189944">cell_insets</a>; }</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a877d652c33804ccfe80e1091daafeb9b">SetCells</a>(<span class="keywordtype">int</span> cx, <span class="keywordtype">int</span> cy, <span class="keywordtype">int</span> cw=1, <span class="keywordtype">int</span> ch=1);</div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="class_active_window.html#a47ca0280b906f21b1721d5162b765072">  212</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a47ca0280b906f21b1721d5162b765072">SetCells</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; r) { <a class="code" href="class_active_window.html#a97bb1aea5c52556c1668c69a86163822">cells</a> = r;          }</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_active_window.html#ac2aa5594cff1d0c083df29c32fcfcf38">  213</a></span>&#160;        <a class="code" href="struct_rect.html">Rect</a>&amp;             <a class="code" href="class_active_window.html#ac2aa5594cff1d0c083df29c32fcfcf38">GetCells</a>()              { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a97bb1aea5c52556c1668c69a86163822">cells</a>;       }</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="code" href="class_active_window.html#a1683e68bd6e05c078b2c002de87eb027">  214</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a1683e68bd6e05c078b2c002de87eb027">SetFixedWidth</a>(<span class="keywordtype">int</span> w)    { <a class="code" href="class_active_window.html#a7244450a5af0df2d85b67bfa1df84e80">fixed_width</a> = w;    }</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="class_active_window.html#af8418aac5d0ad370c9f4b6cc8a8f2508">  215</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#af8418aac5d0ad370c9f4b6cc8a8f2508">GetFixedWidth</a>()<span class="keyword">  const  </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a7244450a5af0df2d85b67bfa1df84e80">fixed_width</a>; }</div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="code" href="class_active_window.html#a101963e5bd2941dc63a6d500a5f0bd6e">  216</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a101963e5bd2941dc63a6d500a5f0bd6e">SetFixedHeight</a>(<span class="keywordtype">int</span> h)   { <a class="code" href="class_active_window.html#af43ca38dba1e991178500d6d36b6d337">fixed_height</a> = h;   }</div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="class_active_window.html#a7ebcd754b0f89e8d9eb12c90ae97a897">  217</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#a7ebcd754b0f89e8d9eb12c90ae97a897">GetFixedHeight</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#af43ca38dba1e991178500d6d36b6d337">fixed_height</a>;}</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ae9fb44bd074386ca99cb591511d7b446">SetAlpha</a>(<span class="keywordtype">double</span> a);</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="class_active_window.html#a19b97ac5846b37859e0ad429ec60f75e">  220</a></span>&#160;        <span class="keywordtype">double</span>            <a class="code" href="class_active_window.html#a19b97ac5846b37859e0ad429ec60f75e">GetAlpha</a>()<span class="keyword">        const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a08f9e0bf83d4293b8b48a94df02c46a4">alpha</a>;       }</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="class_active_window.html#ade64cff6379cda0aecc77522fd2102fb">  221</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ade64cff6379cda0aecc77522fd2102fb">SetBackColor</a>(<a class="code" href="class_color.html">Color</a> c)   { <a class="code" href="class_active_window.html#a9ba8fbb6f7e98a4e29c9d398015ee53e">back_color</a> = c;     }</div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="class_active_window.html#a80ed175726f646b4466b8c4b2edd311c">  222</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#a80ed175726f646b4466b8c4b2edd311c">GetBackColor</a>()<span class="keyword">    const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a9ba8fbb6f7e98a4e29c9d398015ee53e">back_color</a>;  }</div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="class_active_window.html#a2bb0347f984406ae2c33b7992f03165b">  223</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a2bb0347f984406ae2c33b7992f03165b">SetBaseColor</a>(<a class="code" href="class_color.html">Color</a> c)   { <a class="code" href="class_active_window.html#aec23cfa16e1d9698c365f37758e8d400">base_color</a> = c;     }</div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="class_active_window.html#afded1cd448df912dc9f587c3a4661be0">  224</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#afded1cd448df912dc9f587c3a4661be0">GetBaseColor</a>()<span class="keyword">    const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#aec23cfa16e1d9698c365f37758e8d400">base_color</a>;  }</div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="class_active_window.html#acc8a6252a7a2b25074090b32700b51a4">  225</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#acc8a6252a7a2b25074090b32700b51a4">SetForeColor</a>(<a class="code" href="class_color.html">Color</a> c)   { <a class="code" href="class_active_window.html#a77d8a16a2eead82d93b698bee80bc2cd">fore_color</a> = c;     }</div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="class_active_window.html#aaee8b6fa7378ffa8470d543b804fced2">  226</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#aaee8b6fa7378ffa8470d543b804fced2">GetForeColor</a>()<span class="keyword">    const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a77d8a16a2eead82d93b698bee80bc2cd">fore_color</a>;  }</div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="class_active_window.html#ad1fe37734b0a6ac0b2123d2d387508ca">  227</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ad1fe37734b0a6ac0b2123d2d387508ca">SetSingleLine</a>(<span class="keywordtype">bool</span> a)   { <a class="code" href="class_active_window.html#a2525c36f9f10e0351b7d220e4137812a">single_line</a> = a;    }</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="code" href="class_active_window.html#a664253aaf7b8cb0461533b89efa01154">  228</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a664253aaf7b8cb0461533b89efa01154">GetSingleLine</a>()<span class="keyword">   const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a2525c36f9f10e0351b7d220e4137812a">single_line</a>; }</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a23e3f52844f1d7f309ead5334118fefe">SetTextAlign</a>(DWORD a);</div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="class_active_window.html#a3d1947ca2f4ff1a1a1a00198d0b1462c">  230</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#a3d1947ca2f4ff1a1a1a00198d0b1462c">GetTextAlign</a>()<span class="keyword">    const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#ac845848094cc2a2e934a34b0ca945c81">text_align</a>;  }</div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="class_active_window.html#ad14ec7a62c0ca0daa3b5bc75f434c816">  231</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#ad14ec7a62c0ca0daa3b5bc75f434c816">SetTransparent</a>(<span class="keywordtype">bool</span> t)  { <a class="code" href="class_active_window.html#aa210cbb398186b8aedc92ee1bdea024c">transparent</a> = t;    }</div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="class_active_window.html#ae55b1801db23406bca8774d89f549c4e">  232</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#ae55b1801db23406bca8774d89f549c4e">GetTransparent</a>()<span class="keyword">  const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#aa210cbb398186b8aedc92ee1bdea024c">transparent</a>; }</div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="code" href="class_active_window.html#a0e3d5fd8d518980b28e778497dc02da4">  233</a></span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a0e3d5fd8d518980b28e778497dc02da4">SetHidePartial</a>(<span class="keywordtype">bool</span> a)  { <a class="code" href="class_active_window.html#a35068c36ddf4ada67ab24d9b01e29f13">hide_partial</a> = a;   }</div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="class_active_window.html#a4703b510a881ea35019d460ad9070931">  234</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a4703b510a881ea35019d460ad9070931">GetHidePartial</a>()<span class="keyword">  const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#a35068c36ddf4ada67ab24d9b01e29f13">hide_partial</a>;}</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a0897bac8b27dd025af2e3332a7c224a5">SetTabStop</a>(<span class="keywordtype">int</span> n, <span class="keywordtype">int</span> x);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#ad3857908a9a77c52f8c5aa3fca216147">GetTabStop</a>(<span class="keywordtype">int</span> n) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <span class="keywordtype">void</span>              <a class="code" href="class_active_window.html#a728356a1def9b1757f117fea7621b162">DrawText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* txt, <span class="keywordtype">int</span> count, <a class="code" href="struct_rect.html">Rect</a>&amp; txt_rect, DWORD flags);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        <span class="comment">// class properties:</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span>       <a class="code" href="class_active_window.html#a147c3253767d719743f793d2388a7201">SetSystemFont</a>(<a class="code" href="class_font.html">Font</a>* f);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span>       <a class="code" href="class_active_window.html#ac2c4c7d813bebf4dd9b0ebde9b7c7ab2">SetSystemBackColor</a>(<a class="code" href="class_color.html">Color</a> c);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <span class="keyword">static</span> <span class="keywordtype">void</span>       <a class="code" href="class_active_window.html#aa9db86656f8d898366ad65ca6afe4f3a">SetSystemForeColor</a>(<a class="code" href="class_color.html">Color</a> c);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="comment">// callback function registration:</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#aeba283a3aa3c3dd5f22790586c4b8a80">RegisterClient</a>(<span class="keywordtype">int</span> EID, <a class="code" href="class_active_window.html">ActiveWindow</a>* client, <a class="code" href="_active_window_8h.html#a51a9b02cfd470a4ecbb0e48c111617f7">PFVAWE</a> callback);</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a0b519cdf1c8cbada9811474ee4b979c0">UnregisterClient</a>(<span class="keywordtype">int</span> EID, <a class="code" href="class_active_window.html">ActiveWindow</a>* client);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a3e86827c696ebcb0b19d7f3fc5ec1d64">ClientEvent</a>(<span class="keywordtype">int</span> EID, <span class="keywordtype">int</span> x=0, <span class="keywordtype">int</span> y=0);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <span class="comment">// form context:</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="code" href="class_active_window.html#aa2420c766d87a5644ce9175c0eeae817">  252</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html">ActiveWindow</a>*   <a class="code" href="class_active_window.html#aa2420c766d87a5644ce9175c0eeae817">GetForm</a>()                  { <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#af6227d3ff6b3390ee7108b02cecd64c3">form</a>; }</div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="code" href="class_active_window.html#aaf1517d9278c8b7a4707fc656a0c6b89">  253</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>            <a class="code" href="class_active_window.html#aaf1517d9278c8b7a4707fc656a0c6b89">SetForm</a>(<a class="code" href="class_active_window.html">ActiveWindow</a>* f)   { <a class="code" href="class_active_window.html#af6227d3ff6b3390ee7108b02cecd64c3">form</a> = f;    }</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span>            <a class="code" href="class_active_window.html#aad91a77bfeff57e1d9784ab099203580">IsFormActive</a>()       <span class="keyword">const</span>;</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="code" href="class_active_window.html#a429e81d8bfc83d78797387ea323a291b">  255</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">bool</span>            <a class="code" href="class_active_window.html#a429e81d8bfc83d78797387ea323a291b">IsTopMost</a>()<span class="keyword">          const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_active_window.html#abb438f8cf1b66e4dba48aa655e8a24e7">topmost</a>; }</div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="code" href="class_active_window.html#a9086f84f2b9527c080bc5ffa088ad0fd">  256</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>            <a class="code" href="class_active_window.html#a9086f84f2b9527c080bc5ffa088ad0fd">SetTopMost</a>(<span class="keywordtype">bool</span> t)         { <a class="code" href="class_active_window.html#abb438f8cf1b66e4dba48aa655e8a24e7">topmost</a> = t;    }</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html">ActiveWindow</a>*   <a class="code" href="class_active_window.html#ad7962305c43ac21aa07557fb474c6525">FindChild</a>(DWORD <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_active_window.html">ActiveWindow</a>*   <a class="code" href="class_active_window.html#ad7962305c43ac21aa07557fb474c6525">FindChild</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="class_color.html">Color</a>     <a class="code" href="class_active_window.html#a496837ab170602655b4e5dca6a39a27c">ShadeColor</a>(<a class="code" href="class_color.html">Color</a> c, <span class="keywordtype">double</span> shade);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a91aa4c3a154783f1250bb55849530bf6">AddChild</a>(<a class="code" href="class_active_window.html">ActiveWindow</a>* child);</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#acb7dd278b2f0f637ac05d7ad04e4314e">DrawStyleRect</a>(<span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; r, <span class="keywordtype">int</span> <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#acb7dd278b2f0f637ac05d7ad04e4314e">DrawStyleRect</a>(<span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#afb876a7321536239b7cbf59f7e464a1b">DrawTabbedText</a>();</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#ac729514766a7b20e8091fc9be7afb9d5">DrawTextureGrid</a>();</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span>      <a class="code" href="class_active_window.html#a2f2fa511abb1c533543e3d6c6c0a5abb">CalcGrid</a>();</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="code" href="class_active_window.html#a2e3c125fd88cd56618b7ea6bfbf0ccef">  270</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#a2e3c125fd88cd56618b7ea6bfbf0ccef">id</a>;</div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">  271</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#a912696e38175b19d82e7e635a0463c94">style</a>;</div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="class_active_window.html#ac845848094cc2a2e934a34b0ca945c81">  272</a></span>&#160;        DWORD             <a class="code" href="class_active_window.html#ac845848094cc2a2e934a34b0ca945c81">text_align</a>;</div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="code" href="class_active_window.html#a2525c36f9f10e0351b7d220e4137812a">  273</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a2525c36f9f10e0351b7d220e4137812a">single_line</a>;</div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="code" href="class_active_window.html#ac77e67801600056be42e1173d8e62d4c">  274</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#ac77e67801600056be42e1173d8e62d4c">focus</a>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="class_active_window.html#ab7feb90025ec7274e2778bd434729ae6">  275</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#ab7feb90025ec7274e2778bd434729ae6">enabled</a>;</div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="code" href="class_active_window.html#a35068c36ddf4ada67ab24d9b01e29f13">  276</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#a35068c36ddf4ada67ab24d9b01e29f13">hide_partial</a>;</div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="code" href="class_active_window.html#a08f9e0bf83d4293b8b48a94df02c46a4">  277</a></span>&#160;        <span class="keywordtype">float</span>             <a class="code" href="class_active_window.html#a08f9e0bf83d4293b8b48a94df02c46a4">alpha</a>;</div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="code" href="class_active_window.html#a9ba8fbb6f7e98a4e29c9d398015ee53e">  278</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#a9ba8fbb6f7e98a4e29c9d398015ee53e">back_color</a>;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="code" href="class_active_window.html#aec23cfa16e1d9698c365f37758e8d400">  279</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#aec23cfa16e1d9698c365f37758e8d400">base_color</a>;</div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="code" href="class_active_window.html#a77d8a16a2eead82d93b698bee80bc2cd">  280</a></span>&#160;        <a class="code" href="class_color.html">Color</a>             <a class="code" href="class_active_window.html#a77d8a16a2eead82d93b698bee80bc2cd">fore_color</a>;</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">  281</a></span>&#160;        <a class="code" href="class_text.html">Text</a>              <a class="code" href="class_active_window.html#a46ad1cd12aefeb4a9c7dbfde666393f1">text</a>;</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="code" href="class_active_window.html#aa7e975c1475d4046dab0dc26f9f025d1">  282</a></span>&#160;        <a class="code" href="class_text.html">Text</a>              <a class="code" href="class_active_window.html#aa7e975c1475d4046dab0dc26f9f025d1">alt_text</a>;</div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="code" href="class_active_window.html#a0b4fa6e281d65818de57ca3d1a7b3db2">  283</a></span>&#160;        <a class="code" href="class_text.html">Text</a>              <a class="code" href="class_active_window.html#a0b4fa6e281d65818de57ca3d1a7b3db2">desc</a>;</div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="code" href="class_active_window.html#a20388fc1796579e876a357291e861f3c">  284</a></span>&#160;        <a class="code" href="class_bitmap.html">Bitmap</a>*           <a class="code" href="class_active_window.html#a20388fc1796579e876a357291e861f3c">texture</a>;</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="class_active_window.html#a46dd04da321d6175a28a273874dae043">  285</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>            <a class="code" href="class_active_window.html#a46dd04da321d6175a28a273874dae043">margins</a>;</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="code" href="class_active_window.html#ae7fb7aa9695bfbac77b9e1e5dd1f0a8b">  286</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>            <a class="code" href="class_active_window.html#ae7fb7aa9695bfbac77b9e1e5dd1f0a8b">text_insets</a>;</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="class_active_window.html#a842dd824331e42bfaeed478297189944">  287</a></span>&#160;        <a class="code" href="struct_insets.html">Insets</a>            <a class="code" href="class_active_window.html#a842dd824331e42bfaeed478297189944">cell_insets</a>;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="code" href="class_active_window.html#a97bb1aea5c52556c1668c69a86163822">  288</a></span>&#160;        <a class="code" href="struct_rect.html">Rect</a>              <a class="code" href="class_active_window.html#a97bb1aea5c52556c1668c69a86163822">cells</a>;</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="code" href="class_active_window.html#a7244450a5af0df2d85b67bfa1df84e80">  289</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#a7244450a5af0df2d85b67bfa1df84e80">fixed_width</a>;</div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="code" href="class_active_window.html#af43ca38dba1e991178500d6d36b6d337">  290</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#af43ca38dba1e991178500d6d36b6d337">fixed_height</a>;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="code" href="class_active_window.html#aa8a4cf71837293089964b12eb098dbc1">  291</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#aa8a4cf71837293089964b12eb098dbc1">tab</a>[10];</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="code" href="class_active_window.html#a3422318f38a7866e207f72abbce9dcc2">  293</a></span>&#160;        <a class="code" href="class_active_window.html">ActiveWindow</a>*     <a class="code" href="class_active_window.html#a3422318f38a7866e207f72abbce9dcc2">parent</a>;</div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="class_active_window.html#af6227d3ff6b3390ee7108b02cecd64c3">  294</a></span>&#160;        <a class="code" href="class_active_window.html">ActiveWindow</a>*     <a class="code" href="class_active_window.html#af6227d3ff6b3390ee7108b02cecd64c3">form</a>;</div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="code" href="class_active_window.html#aa210cbb398186b8aedc92ee1bdea024c">  295</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#aa210cbb398186b8aedc92ee1bdea024c">transparent</a>;</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="code" href="class_active_window.html#abb438f8cf1b66e4dba48aa655e8a24e7">  296</a></span>&#160;        <span class="keywordtype">bool</span>              <a class="code" href="class_active_window.html#abb438f8cf1b66e4dba48aa655e8a24e7">topmost</a>;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="code" href="class_active_window.html#a0b7ee6486b5bc82253b40865c05d3467">  298</a></span>&#160;        <a class="code" href="class_layout.html">Layout</a>*              <a class="code" href="class_active_window.html#a0b7ee6486b5bc82253b40865c05d3467">layout</a>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="code" href="class_active_window.html#ae468a01ef76df610592e9b091540080e">  299</a></span>&#160;        <a class="code" href="class_list.html">List&lt;ActiveWindow&gt;</a>   <a class="code" href="class_active_window.html#ae468a01ef76df610592e9b091540080e">children</a>;</div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="code" href="class_active_window.html#a943f308d54075f1c274587a17d54f688">  300</a></span>&#160;        <a class="code" href="class_list.html">List&lt;AWMap&gt;</a>          <a class="code" href="class_active_window.html#a943f308d54075f1c274587a17d54f688">clients</a>;</div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="code" href="class_active_window.html#a691e44dff8eaa3244f8ed0159bd37ee5">  301</a></span>&#160;        <a class="code" href="struct_a_w_event.html">AWEvent</a>              <a class="code" href="class_active_window.html#a691e44dff8eaa3244f8ed0159bd37ee5">event</a>;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="code" href="class_active_window.html#aa09b049420a65b07182d62d636411e7d">  303</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#aa09b049420a65b07182d62d636411e7d">rows</a>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="code" href="class_active_window.html#ad7936be708c9958967e2a2570752b899">  304</a></span>&#160;        <span class="keywordtype">int</span>               <a class="code" href="class_active_window.html#ad7936be708c9958967e2a2570752b899">cols</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="code" href="class_active_window.html#acb9f3129e6d37d29c447ab4a3c4a822f">  305</a></span>&#160;        <a class="code" href="struct_poly.html">Poly</a>*             <a class="code" href="class_active_window.html#acb9f3129e6d37d29c447ab4a3c4a822f">polys</a>;</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="code" href="class_active_window.html#abc1318e49752c418504542f3e27f4531">  306</a></span>&#160;        <a class="code" href="struct_vertex_set.html">VertexSet</a>*        <a class="code" href="class_active_window.html#abc1318e49752c418504542f3e27f4531">vset</a>;</div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="code" href="class_active_window.html#a3d99ade672d6bb11c700215d3ea8b33d">  307</a></span>&#160;        <a class="code" href="struct_material.html">Material</a>*         <a class="code" href="class_active_window.html#a3d99ade672d6bb11c700215d3ea8b33d">mtl</a>;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="code" href="class_active_window.html#a1bff31881e12fafa48bb5f00874f15fd">  309</a></span>&#160;        <span class="keyword">static</span> <a class="code" href="class_font.html">Font</a>*      <a class="code" href="class_active_window.html#a1bff31881e12fafa48bb5f00874f15fd">sys_font</a>;</div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="code" href="class_active_window.html#a8913bdf38aeee0f2c72e14a3028fa46b">  310</a></span>&#160;        <span class="keyword">static</span> <a class="code" href="class_color.html">Color</a>      <a class="code" href="class_active_window.html#a8913bdf38aeee0f2c72e14a3028fa46b">sys_back_color</a>;</div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="code" href="class_active_window.html#aaa35a267a80495094a7896f9e8e7053b">  311</a></span>&#160;        <span class="keyword">static</span> <a class="code" href="class_color.html">Color</a>      <a class="code" href="class_active_window.html#aaa35a267a80495094a7896f9e8e7053b">sys_fore_color</a>;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;};</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="code" href="_active_window_8h.html#acf5ab5423841bdc2aaaf6da32a059111">  314</a></span>&#160;<span class="preprocessor">#define DEF_MAP_CLIENT(cname, fname)\</span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="preprocessor">        void Map##cname##fname(ActiveWindow* client, AWEvent* event) \</span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="preprocessor">        { cname* c = (cname*) client; c-&gt;fname(event); }</span></div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="code" href="_active_window_8h.html#ac1272bb20299d2bb29ec908188ecc7b6">  318</a></span>&#160;<span class="preprocessor">#define REGISTER_CLIENT(eid, ctrl, cname, fname)\</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="preprocessor">        if (ctrl) ctrl-&gt;RegisterClient(eid, this, Map##cname##fname);</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="code" href="_active_window_8h.html#a3f843decfee764010dc3fa0b21ff9c03">  321</a></span>&#160;<span class="preprocessor">#define UNREGISTER_CLIENT(eid, ctrl, cname)\</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="preprocessor">        if (ctrl) ctrl-&gt;UnregisterClient(eid, this);</span></div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="preprocessor">#endif ActiveWindow_h</span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_active_window_8h.html">ActiveWindow.h</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:46:19 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
